﻿<%@ Page Language="C#" MasterPageFile="~/SiteAdmin/MasterPage.master" AutoEventWireup="true" CodeFile="TaskNewAccept.aspx.cs" Inherits="TaskNewAccept" Title="Untitled Page" %>
<%@ Register Src="../Controls/TabsMenu/TabsMenu.ascx" TagName="TabsMenu" TagPrefix="uc1" %>
<%@ Register src="TaskPersonItem.ascx" tagname="TaskPersonItem" tagprefix="uc1" %> 
<%@ Register src="../Controls/TipMessage/TipMessage.ascx" tagname="TipMessage" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="contentPlaceHolderID" Runat="Server">   
<asp:Panel ID="pnlEdit" runat="server" Width="95%" CssClass="centerPanel">
<uc1:TipMessage ID="tipMessage1" runat="server"/>
<asp:Panel ID="pnlTaskInfo" runat="server">
    <div class="webPanelBorder" >
        <div class="webPanelCaption">报修信息</div>
        <div class="webPanelContent">
            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
             <table cellspacing="1" class="table">
                <tr> 
                    <td class="tableSubjectWidth">联系电话：<ofcc:ToolTip ID="ToolTip1" CssClass="tip" runat="server" ToolTip="输入联系电话后回车，自动查询出单位用户和地点信息" />
                    </td>
                    <td><asp:TextBox ID="tbPhone" runat="server" CssClass="shortInput" MaxLength="64" ></asp:TextBox>
                        <ofcc:RequiredField ID="RequiredField2" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td class="tableSubjectWidth">单位/用户：
                    </td>
                    <td><asp:TextBox ID="tbGuest" runat="server" CssClass="shortInput" MaxLength="64" ></asp:TextBox>
                        <ofcc:RequiredField ID="RequiredField1" runat="server" />
                    </td>                    
                </tr>    
                <tr> 
                    <td>楼号/区域：
                    </td>
                    <td><div class="select"><div>
                        <ofcc:DropDownList ID="cbHouseNo" runat="server"></ofcc:DropDownList> 
                        </div></div>
                        <ofcc:RequiredField ID="RequiredField4" runat="server" />
                    </td>
                </tr>     
                <tr> 
                    <td>房间号：
                    </td>
                    <td ><asp:TextBox ID="tbRoomNo" runat="server" CssClass="shortInput" MaxLength="64" ></asp:TextBox>
                         <ofcc:RequiredField ID="RequiredField5" runat="server" />
                    </td>
                </tr>           
                <tr>
                    <td>事由(要求)：</td>
                    <td><asp:TextBox ID="tbTroubleDescription" runat="server" CssClass="shortInput" Rows="5" MaxLength="40" TextMode="MultiLine"></asp:TextBox>
                    <br />
                    受理人：<asp:Label ID="lbUserID" runat="server" Text=""></asp:Label>&nbsp;
                    经办部门：<asp:Label ID="lbOrgID" runat="server" Text=""></asp:Label>&nbsp;
                    受理时间：<asp:Label ID="lbCreateDate" runat="server" Text=""></asp:Label>                    
                    </td>
                </tr> 
                <tr> 
                    <td>自动更新客户信息：
                    </td>
                    <td ><asp:CheckBox ID="cbIsAutoUpdate" runat="server" Text="选择后将自动更新客户名称/楼号/房间号信息"></asp:CheckBox>
                    </td>
                </tr>  
                <tr> 
                    <td>是否领取物料：
                    </td>
                    <td ><asp:CheckBox ID="cbIsReqGood" runat="server" Text="选择后在库房自动产生出库单"></asp:CheckBox>
                    </td>
                </tr>  
                </table>  
                </ContentTemplate>
            </asp:UpdatePanel>
        </div>
     </div>
     
     <uc1:TaskPersonItem ID="TaskPersonItem" runat="server" /> 
     </asp:Panel>
    <asp:Panel ID="pnlTaskPerson" runat="server">
        
    </asp:Panel>   
    <div class="webPanelButtonArea">
        <span class="linkButtonOut" id="selectperson"><asp:LinkButton ID="btnSelect" runat="server" OnClick="btnSelect_Click" CssClass="linkButton" >1.选择</asp:LinkButton></span>
        <ofcc:LinkButton ID="btnSave" runat="server" OnClick="btnSave_Click" CssClass="linkButton" ValidationGroup="submit">2.受理</ofcc:LinkButton>
        <%--<ofcc:LinkButton ID="btnListDocument" runat="server" OnClick="btnListDocument_Click" CssClass="linkButton" >导出</ofcc:LinkButton> --%>
    </div>  
<asp:HiddenField ID="hfAddOrEdit" runat="server" />
<asp:HiddenField ID="hfTaskID" runat="server" /> 
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="tbGuest"
    Display="None" ErrorMessage="请输入单位/用户" ValidationGroup="submit"></asp:RequiredFieldValidator>    
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="tbPhone"
    Display="None" ErrorMessage="请输入联系电话" ValidationGroup="submit"></asp:RequiredFieldValidator>  
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="cbHouseNo"
    Display="None" ErrorMessage="请选择楼号/区域" ValidationGroup="submit"></asp:RequiredFieldValidator> 
<asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="tbRoomNo"
    Display="None" ErrorMessage="请输入房间号" ValidationGroup="submit"></asp:RequiredFieldValidator>   
<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="tbTroubleDescription"
    Display="None" ErrorMessage="请输入事由(要求)" ValidationGroup="submit"></asp:RequiredFieldValidator>  
<asp:ValidationSummary ID="ValidationSummary1" runat="server" EnableViewState="False"
    ShowMessageBox="True" ShowSummary="False" ValidationGroup="submit" />
    
    </asp:Panel>
    <asp:HiddenField ID="hfIsGroup" runat="server" />
    <iframe id="ifdown" src="" style="display:none;" runat="server"></iframe>
</asp:Content> 

